home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01a.txt / 000096_icon-group-sender _Fri Jul 7 14:18:23 2000.msg < prev    next >
Internet Message Format  |  2002-01-03  |  4KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id OAA20851
  4.     for icon-group-addresses; Fri, 7 Jul 2000 14:16:41 -0700 (MST)
  5. Message-Id: <200007072116.OAA20851@baskerville.CS.Arizona.EDU>
  6. From: gep2@terabites.com
  7. Date: Fri, 07 Jul 2000 16:18:50 -0500
  8. Subject: Re: Error messages
  9. To: icon-group@optima.CS.Arizona.EDU
  10. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  11. Status: RO
  12. Content-Length: 3091
  13.  
  14. >Gordon Peterson <gep2@terabites.com> wrote (in extremely long lines):
  15.  
  16. Sorry if you don't like those... I've got the choice of not breaking lines, or 
  17. of breaking them manually, or of breaking them automatically at (say) 80 
  18. columns.  Whichever I choose seems to have at least SOME nasty artifacts, and 
  19. someone bitches.  I think I'm going to just set it back for force a break at 80 
  20. columns and let it go at that.
  21.  
  22. >> Although you COULD probably write [an assembler] in Prolog,
  23. > I have to wonder if the benefits of making that choice are
  24. > enough to justify the hassle.
  25.  
  26. > I just _have_ to ask:  WHICH hassle?
  27.  
  28. I've written a **lot** of such stuff (admittedly in SNOBOL/SPITBOL rather than 
  29. Icon, but the principle is certainly similar).  I don't think you have anything 
  30. like the same capabilities and ease of programming in Prolog that you have in 
  31. S*BOL or in Icon.
  32.  
  33. Now it could be that you don't program in S*BOL or Icon the way I do, or that 
  34. maybe you'd just rather do it (for whatever perverse reason) in Prolog.  Hey, 
  35. whatever floats your own personal boat...
  36.  
  37. > Let's face it, analysing the input hasn't been the hard part of assembler
  38. writing for decades.  
  39.  
  40. Analyzing the input is a tiny part of the area where S*BOL or Icon shine.  It's 
  41. the other areas surrounding the project where the real benefits show up.  The 
  42. script compiler I wrote for the French Social Security Administration was 
  43. written in a day and a half, and produced the most beautifully complete and 
  44. detailed listings (cross references, formatted symbol tables, error summaries, 
  45. and even a listing table of contents) you ever saw.  It would have taken at 
  46. least six months to write the same thing in C/C++, and maybe not a whole lot 
  47. less to have written it in Prolog.
  48.  
  49. > Writing the output is the tricky part.  The real hassle is finding out what 
  50. the wretched output is supposed to look like.
  51.  
  52. I claim that THAT is only part of the hassle too.  But hey, as I said, I've got 
  53. better things to do than to go through a detailed point-by-point argument with 
  54. you if you really want to do it in Prolog (or for that matter if you want to 
  55. write it to run on a Turing-machine emulator).  It's your time and your money.  
  56. And you'll have to live the resulting product when you're done with it.  Since 
  57. I'm reasonably sure that *I* will never have to use it, it matters really not 
  58. one whit to me.  :-)
  59.  
  60. > For UNIX (maybe Windows too; I've never used Cygwin) anyone wanting to write
  61. a new kind of assembler would be mad not to re-use as much of the GNU binutils
  62. as practical.  By all means put a smart new front end on an assembler, but
  63. let someone else deal with the *real* hassle.
  64.  
  65. Well, I guess it depends on whether you want an assembler that works like 
  66. everyone else's or not.  (Buf if you're happy with existing ones, why write a 
  67. new one at all?)
  68.  
  69. Gordon Peterson
  70. http://web2.airmail.net/gep2/
  71. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  72. 12/19/98: the day the Conservatives demonstrated their scorn for their
  73.    fraudulent sham of representative government.  Voters, remember it!
  74.  
  75.